package com.example.monitor;

import com.example.monitor.model.DO.AlarmRecord;
import com.example.monitor.model.DO.User;
import com.example.monitor.model.DO.Worker;
import com.example.monitor.model.enums.AlarmStatus;
import com.example.monitor.model.enums.Role;
import com.example.monitor.model.enums.UserStatus;
import com.example.monitor.repository.AlarmRecordRepository;
import com.example.monitor.repository.UserRepository;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.security.crypto.password.PasswordEncoder;

import java.sql.Timestamp;
import java.time.LocalDateTime;

@SpringBootApplication
public class MonitorApplication {

    public static void main(String[] args) {

        SpringApplication.run(MonitorApplication.class, args);
    }
}